package com.smartfactory.sail.constant.header;

import lombok.Getter;

/**
 * @author 王巨壁
 * @title: ProductEnum
 * @projectName smart-sail
 * @description: 产品返回列表
 * @date 2019/8/223:30
 */
@Getter
public enum ProductEnum implements HeaderBase {

    //ID("id", "序号"),
    NAME("name", "产品名称"),
    CODE("code", "物料号"),
    SPECIFICATION("specification", "型号"),
    INFO("info", "物料描述"),
    STATUS("status", "状态");

    /*
    INFO("info", ""),

    @ApiModelProperty(value = "图纸编号")
    DRAWINGCODE("drawingCode", ""),

    @ApiModelProperty(value = "材料质地")
    TEXTURE("texture", ""),

    @ApiModelProperty(value = "材质编码")
    TEXTURECODE("textureCode", ""),

    @ApiModelProperty(value = "1产品2原料具体参考constants")
    ITEMMODE("itemMode", ""),

    @ApiModelProperty(value = "类型id-参考item_type表")
    ITEMTYPEID("itemTypeId", ""),

    @ApiModelProperty(value = "质量")
    QUALITY("quality", ""),

    @ApiModelProperty(value = "报废率百分比")
    SCRAPRATE("scrapRate", ""),

    @ApiModelProperty(value = "保管注意事项")
    NOTE("note", ""),

    @ApiModelProperty(value = "质保时间单位:天")
    GUARANTEEPERIOD("guaranteePeriod", ""),

    @ApiModelProperty(value = "领取上限")
    RECEIVEUPPERLIMIT("receiveUpperLimit", ""),

    @ApiModelProperty(value = "多个生产图纸id用符号|隔开")
    PRODUCTDRAWINGS("productDrawings", ""),

    @ApiModelProperty(value = "客户图纸多个用|隔开")
    CUSTDRAWINGS("custDrawings", ""),

    @ApiModelProperty(value = "技术图纸多个用|隔开")
    TECHNICALDRAWINGS("technicalDrawings", ""),

    @ApiModelProperty(value = "供应商列表用|隔开")
    SUPPLIERS("suppliers", ""),

    @ApiModelProperty(value = "创建人")
    CREATEUSER("createUser", ""),

    @ApiModelProperty(value = "创建时间yyyy-MM-dd HH:mm:ss")
    CREATETIME("createTime", ""),

    @ApiModelProperty(value = "修改人")
    UPDATEUSER("updateUser", ""),

    @ApiModelProperty(value = "更新时间yyyy-MM-dd HH:mm:ss")
    UPDATETIME("updateTime", "");*/

    private String key;
    private String value;

    ProductEnum(String key, String value) {
        this.key = key;
        this.value = value;
    }
}
